// 存储未读消息数量
export function changeMsgNum(data) {
  return {
    type: "MESSAGE_NUM",
    data,
  };
}
// 存储全部消息数量
export function changeAllMsgNum(data) {
  return {
    type: "ALL_MESSAGE_NUM",
    data,
  };
}
// 存储已读消息数量
export function changeReadMsgNum(data) {
  return {
    type: "READ_MESSAGE_NUM",
    data,
  };
}
// 存储qiankun的actions和 loadMicroApp
export function setQiankunState(data) {
  return {
    type: "SET_QIANKUN_STATE",
    data,
  };
}
// 存储mqtt收到的消息
export function setMqttRcvMsg(data) {
  return {
    type: "SET_MQTT_RCV_MSG",
    data,
  };
}
// 设置mqtt链接状态
export function setMqttConnectState(data) {
  return {
    type: "SET_MQTT_CONNECT_STATE",
    data,
  };
}
